import {ref} from "vue";

export default function useMoveMouse(){
    const x = ref(-1);
    const y = ref(-1);

    const MoveMouse = (e:MouseEvent)=>{
        x.value = e.clientX
        y.value = e.clientY
    }
    return {
        x,y,MoveMouse
    }
}